<li>
  <label for="country_id"><?php echo $this->lang->line('label.city.country_id') ?></label>
  <div class="input"><?php
$ref_obj = $this->country_model->get($obj["country_id"]);
if ($ref_obj) {
 ?>
    <a href="<?php echo site_url('admin/' . "country/show/" . $obj["country_id"]) ?>">
        <?php echo $this->country_model->to_string($ref_obj) ?></a>
    <?php } ?>
  </div>
</li>
<li>
  <label for="country_id"><?php echo $this->lang->line('label.city.state_id') ?></label>
  <div class="input"><?php
$ref_obj = $this->state_model->get($obj["state_id"]);
if ($ref_obj) {
 ?>
    <a href="<?php echo site_url('admin/' . "state/show/" . $obj["state_id"]) ?>">
        <?php echo $this->state_model->to_string($ref_obj) ?></a>
    <?php } ?>
  </div>
</li>
<li>
  <label for="name"><?php echo $this->lang->line('label.city.name') ?></label>
  <div class="input"><?php echo $obj["name"] ?>
  </div>
</li><li>
  <label for="lat"><?php echo $this->lang->line('label.city.lat') ?></label>
  <div class="input"><?php echo $obj["lat"] ?>
  </div>
</li><li>
  <label for="lng"><?php echo $this->lang->line('label.city.lng') ?></label>
  <div class="input"><?php echo $obj["lng"] ?>
  </div>
</li>